package com.demo.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages= {"com.demo.springcloud"})
@ComponentScan("com.demo.springcloud")
//@RibbonClient(name="DEMP-PRODUCER", configuration = MyselfRule.class)
public class DemoConsumer80FeignApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoConsumer80FeignApplication.class, args);
	}

}
